projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c091f8
)
xend: PCIQuirk`__devIsUnconstrained refers to an undeclared variable if
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 11 Feb 2009 10:45:34 +0000
(10:45 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 11 Feb 2009 10:45:34 +0000
(10:45 +0000)
/etc/xen/xend-pci-permissive.sxp doesn't exist.
Signed-off-by: David Edmondson <dme@sun.com>
tools/python/xen/xend/server/pciquirk.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/server/pciquirk.py
b/tools/python/xen/xend/server/pciquirk.py
index c8f8f6d392d8d6f5841da23b6586dcd079fa76e9..702c3b2a50fd4e8bd541dafeecb00317e1febaaa 100644
(file)
--- a/
tools/python/xen/xend/server/pciquirk.py
+++ b/
tools/python/xen/xend/server/pciquirk.py
@@
-123,7
+123,8
@@
class PCIQuirk:
log.info("Config file does not exist: %s" % PERMISSIVE_CONFIG_FILE)
self.pci_perm_dev_config = ['xend-pci-perm-devs']
- devices = child_at(child(pci_perm_dev_config, 'unconstrained_dev_ids'),0)
+ devices = child_at(child(self.pci_perm_dev_config,
+ 'unconstrained_dev_ids'),0)
if self.__matchPCIdev( devices ):
log.debug("Permissive mode enabled for PCI device [%s]" %
self.devid)